package com.yoyo.service.impl;

import com.yoyo.dao.PetTypeDao;
import com.yoyo.entity.PetType;
import com.yoyo.service.PetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PetTypeServiceimpl implements PetTypeService {

    @Autowired
    private PetTypeDao petTypeDao;
    public List<PetType> findAll(PetType entity) {
//        System.out.println("++++++++++++++impl"+petTypeDao.findAll(entity));
        return petTypeDao.findAll(entity);
    }
}
